/* news-styles.css */

/* Page Banner */
.page-banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 70px;
    background-color: rgba(30, 121, 240, 0.8);
    position: absolute;
    right: 0;
    bottom: 50px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.breadcrumb-header {
    display: flex;
    align-items: center;
}

.breadcrumb-header img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.breadcrumb-title {
    font-weight: bold;
    font-size: 20px;
    color: #003C88;
}

.breadcrumb-path {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-path a {
    text-decoration: none;
    margin: 0 5px;
    color: #666;
}

.breadcrumb-path span {
    margin: 0 5px;
}

.divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* News Detail */
.news-detail {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.detail-header {
    text-align: center;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.detail-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-info span {
    margin: 0 10px;
}

.font-size-control a {
    color: #1890ff;
    margin: 0 5px;
    cursor: pointer;
    text-decoration: none;
}

.font-size-control a:hover {
    text-decoration: underline;
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.detail-figure {
    text-align: center;
    margin: 20px 0;
}

.detail-figure img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.figure-caption {
    color: #666;
    font-size: 14px;
    text-align: left;
    text-indent: 2em;
    line-height: 1.8;
    padding: 0 10px;
}

/* Article Footer */
.article-footer {
    text-align: right;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 16px;
}

.nav-item span {
    color: #999;
    margin-right: 10px;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #003C88;
}

@media (max-width: 992px) {
    .news-page .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .news-content {
        width: 100%;
    }
}
